﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Bll;
using Model;
using System.Data.SqlClient;

namespace WebApplication1
{
    public partial class index : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Getone();
            }
        }
        public void Getone()
        {
            Repeater1.DataSource = Bll.Truckbll.GetTuckone();
            Repeater1.DataBind();
        }
    }
    }
}